# $Id: PKGBUILD 88585 2013-04-20 15:35:51Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=mp3splt-gtk
pkgver=0.8.2
pkgrel=1
pkgdesc="Split mp3 and ogg files without decoding"
arch=('i686' 'x86_64')
url="http://mp3splt.sourceforge.net/"
license=('GPL')
depends=('desktop-file-utils' 'gstreamer0.10-ffmpeg' 'gtk3' 'libmp3splt')
makedepends=('pkgconfig')
install=$pkgname.install
changelog=$pkgname.changelog
source=(http://downloads.sourceforge.net/sourceforge/mp3splt/$pkgname-$pkgver.tar.gz)
sha256sums=('5634d0a6d15f73affc361c49cafb96a5e53fa2e65a6d7723e74a3a79d3f27c88')

build() {
  cd ${srcdir}/$pkgname-$pkgver

  ./configure --prefix=/usr --disable-gnome --disable-mp3splttest --disable-audacious
  make
}

package() {
  cd ${srcdir}/$pkgname-$pkgver

  make DESTDIR=${pkgdir} install
}
